package com.qiaofang.applet.service.member.domain;

import com.qiaofang.applet.common.base.BaseDomain;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.mongodb.core.mapping.Document;

import java.math.BigDecimal;

/**
 * 1228小程序迭代需求以后废弃
 */
@Data
@Document(collection = "member_member_browse")
@ApiModel("会员浏览记录表")
@NoArgsConstructor
@Deprecated
public class MemberBrowse extends BaseDomain {

    @ApiModelProperty("会员ID")
    private String memberId;

    @ApiModelProperty("会员名称")
    private String memberName;

    @ApiModelProperty("业务UUID：房源UUID或者员工UUID")
    private String businessUuid;

    @ApiModelProperty("房源类型: 新房 二手房 租房 经纪人")
    private String businessType;

    @ApiModelProperty("所在地")
    private String cityName;

    @ApiModelProperty("小区")
    private String estateName;

    @ApiModelProperty("户型")
    private String houseType;

    @ApiModelProperty("价格")
    private String price;

    @ApiModelProperty("房源编号")
    private String propertyNo;

    @ApiModelProperty("面积")
    private BigDecimal square;

    @ApiModelProperty("朝向")
    private String direction;

    @ApiModelProperty("装修")
    private String decoration;

    @ApiModelProperty("经纪人唯一UUID")
    private String employeeUniqueUuid;

    @ApiModelProperty("是否已读")
    private Boolean read;

    @ApiModelProperty("房源主图")
    private String mainImageUrl;

    @ApiModelProperty("浏览次数")
    private Integer count;

    //@ApiModelProperty("最新统计标识 为了区别同一房源同一用户浏览编辑")
    //private Boolean lasted;
}
